/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_Studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once

#include <filesystem>
#include <JIT.h>




bool f_插件_加载(S_插件& 插件);

bool f_插件_卸载(S_插件& 插件);

void f_插件_重载(S_插件& 插件);




struct S_插件信息 {
	std::u16string	m_Name;
	S_插件			m_插件;
};


void f_插件_修改名称(S_插件* 插件, std::u16string 新名称);

void f_插件_构建工程(const std::filesystem::path& path, const std::u16string& 插件名称);

//void f_插件_加载









